package com.sjq.common.util;

import java.io.Serializable;
import java.util.UUID;

public class PrimaryKeyUtil implements Serializable{

	private static final long serialVersionUID = -7461975376752622667L;
	
	public static String getUUID(){
		String uuid = UUID.randomUUID().toString();
		String str = uuid.substring(0, 8) + uuid.substring(9, 13) + 
				     uuid.substring(14, 18) + uuid.substring(19, 23) + uuid.substring(24);
	  return str;	
	}

}
